/*
 * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.xiaominfo.com.
 * Developer Web Site: http://open.xiaominfo.com.
 */

package com.github.xiaoymin.map.spring.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author <a href="mailto:xiaoymin@foxmail.com">xiaoymin@foxmail.com</a>
 * 2020/09/23 15:28
 * @since:map-client 1.0
 */
@ConfigurationProperties(prefix = "map.client")
public class MapClientProperties {

    /**
     * 是否启用MapClient组件
     */
    private boolean enable=true;
    /**
     * 高德地图配置
     */
    private MapClientAmapProperties amap;

    /**
     * 百度地图配置
     */
    private MapClientBaiduMapProperties baidumap;

    /**
     * 腾讯地图
     */
    private MapClientTencentMapProperties tencentmap;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public MapClientAmapProperties getAmap() {
        return amap;
    }

    public void setAmap(MapClientAmapProperties amap) {
        this.amap = amap;
    }

    public MapClientBaiduMapProperties getBaidumap() {
        return baidumap;
    }

    public void setBaidumap(MapClientBaiduMapProperties baidumap) {
        this.baidumap = baidumap;
    }

    public MapClientTencentMapProperties getTencentmap() {
        return tencentmap;
    }

    public void setTencentmap(MapClientTencentMapProperties tencentmap) {
        this.tencentmap = tencentmap;
    }
}
